package com.ljl.ssm.mapper;

import com.ljl.ssm.entity.Category;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ljl.ssm.pojo.CategoryExample;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author BaoZhou
 * @since 2019-07-07
 */
public interface CategoryMapper extends BaseMapper<Category> {
    int deleteByPrimaryKey(Integer id);

    int insert(Category record);

    int insertSelective(Category record);

    List<Category> selectByExample(CategoryExample example);

    Category selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Category record);

    int updateByPrimaryKey(Category record);
}
